/*******************************************************************************
 * 版权：北京润尼尔网络科技有限公司，保留所有版权<br>
 * 版本：v1.0.0<br>
 * 文件：TextModelJson.js<br>
 * 日期：2018年8月10日<br>
 * 作者: 孙燕宝<br>
 * 功能：串行文本框模型定义<br>
 * 
 * 修改记录：<br>
 * 日期 描述 更新功能<br>
 ******************************************************************************/

window.makeNamespace(window,"Rainier.UI.V2.Communication");

/**
 * 类型名称：Rainier.UI.V2.Communication.ParallelTextModel<br>
 * 类型功能：串行文本框<br>
 * 接口函数：无<br>
 * 成员变量：无<br>
 */
Rainier.UI.V2.Communication.SerialTextModel = 
{
    "experimentInfo": {
        "experimentName": "Serial",
        "configuretion": "",
        "zoom": 1.2
    },
    "experimentScene": {
        "componentList": [
            {
                "type": "Rainier.UI.V2.TextModel",
                "uiProperty": {
                    "id": 111,
                    "width": 180,
                    "height": 54,
                    "color": "#FDB793",
                    "bgColor": "#FDB793",
                    "stroke": 1,
                    "imageWidth": 108,
                    "imageHeight": 54,
                    "imageString": "",
                    "x": 405,
                    "y": 468
                },
                "modelProperty": {
                    "typeName": "TextModelJson",
                    "label": "First1",
                    "defaultLabel": "First",
                    "componentName": "一级流程框",
                    "text": "1",
                    "showInfo": {
                        "showLabel": {
                            "showable": true,
                            "visiable": true
                        },
                        "showComponentName": {}
                    },
                    "locator": {
                        "type": "default",
                        "x": 405,
                        "y": 468
                    },
                    "transform": {
                        "angle": 0,
                        "flip": {
                            "horizontal": false,
                            "vertical": false
                        }
                    },
                    "additional": {
                        "spiceProperties": [],
                        "spiceModel": {}
                    }
                },
                "portList": [
                    {
                        "type": "Rainier.UI.V2.InputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 0,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n1",
                            "id": 1,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 0,
                                "y": 27,
                                "defaultX": 0,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 180,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": 2,
                            "locator": {
                                "type": "default",
                                "x": 180,
                                "y": 27,
                                "defaultX": 180,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 0
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 0,
                                "defaultX": 90,
                                "defaultY": 0
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 54
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 54,
                                "defaultX": 90,
                                "defaultY": 54
                            }
                        },
                        "portType": "D"
                    }
                ]
            },
            {
                "type": "Rainier.UI.V2.TextModel",
                "uiProperty": {
                    "id": 111,
                    "width": 180,
                    "height": 54,
                    "color": "#3BC0C3",
                    "bgColor": "#3BC0C3",
                    "stroke": 1,
                    "imageWidth": 108,
                    "imageHeight": 54,
                    "imageString": "",
                    "x": 621,
                    "y": 468
                },
                "modelProperty": {
                    "typeName": "TextModelJson2",
                    "label": "Second1",
                    "defaultLabel": "Second",
                    "componentName": "二级流程框",
                    "text": "1.1",
                    "showInfo": {
                        "showLabel": {
                            "showable": true,
                            "visiable": true
                        },
                        "showComponentName": {}
                    },
                    "locator": {
                        "type": "default",
                        "x": 621,
                        "y": 468
                    },
                    "transform": {
                        "angle": 0,
                        "flip": {
                            "horizontal": false,
                            "vertical": false
                        }
                    },
                    "additional": {
                        "spiceProperties": [],
                        "spiceModel": {}
                    }
                },
                "portList": [
                    {
                        "type": "Rainier.UI.V2.InputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 0,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n1",
                            "id": 1,
                            "node": 2,
                            "locator": {
                                "type": "default",
                                "x": 0,
                                "y": 27,
                                "defaultX": 0,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 180,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": 3,
                            "locator": {
                                "type": "default",
                                "x": 180,
                                "y": 27,
                                "defaultX": 180,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 0
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 0,
                                "defaultX": 90,
                                "defaultY": 0
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 54
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 54,
                                "defaultX": 90,
                                "defaultY": 54
                            }
                        },
                        "portType": "D"
                    }
                ]
            },
            {
                "type": "Rainier.UI.V2.TextModel",
                "uiProperty": {
                    "id": 111,
                    "width": 180,
                    "height": 54,
                    "color": "#67C2E7",
                    "bgColor": "#67C2E7",
                    "stroke": 1,
                    "imageWidth": 108,
                    "imageHeight": 54,
                    "imageString": "",
                    "x": 837,
                    "y": 468
                },
                "modelProperty": {
                    "typeName": "TextModelJson3",
                    "label": "Third1",
                    "defaultLabel": "Third",
                    "componentName": "三级流程框",
                    "text": "1.1.1",
                    "showInfo": {
                        "showLabel": {
                            "showable": true,
                            "visiable": true
                        },
                        "showComponentName": {}
                    },
                    "locator": {
                        "type": "default",
                        "x": 837,
                        "y": 468
                    },
                    "transform": {
                        "angle": 0,
                        "flip": {
                            "horizontal": false,
                            "vertical": false
                        }
                    },
                    "additional": {
                        "spiceProperties": [],
                        "spiceModel": {}
                    }
                },
                "portList": [
                    {
                        "type": "Rainier.UI.V2.InputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 0,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n1",
                            "id": 1,
                            "node": 3,
                            "locator": {
                                "type": "default",
                                "x": 0,
                                "y": 27,
                                "defaultX": 0,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 180,
                            "y": 27
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 180,
                                "y": 27,
                                "defaultX": 180,
                                "defaultY": 27
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 0
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 0,
                                "defaultX": 90,
                                "defaultY": 0
                            }
                        },
                        "portType": "D"
                    },
                    {
                        "type": "Rainier.UI.V2.OutputPortModel",
                        "uiProperty": {
                            "radius": 2,
                            "x": 90,
                            "y": 54
                        },
                        "modelProperty": {
                            "name": "n2",
                            "id": 2,
                            "node": -1,
                            "locator": {
                                "type": "default",
                                "x": 90,
                                "y": 54,
                                "defaultX": 90,
                                "defaultY": 54
                            }
                        },
                        "portType": "D"
                    }
                ]
            }
        ],
        "connectionList": [
            {
                "type": "Rainier.UI.V2.ConnectionModel",
                "uiProperty": {
                    "stroke": 1,
                    "radius": 1,
                    "color": "#00A8F0"
                },
                "modelProperty": {
                    "name": "connection1",
                    "router": "Rainier.UI.V2.InteractiveManhattanRouter",
                    "segments": [
                        {
                            "start_x": 585,
                            "start_y": 495,
                            "end_x": 621,
                            "end_y": 495,
                            "type": "horizontal"
                        }
                    ],
                }
            },
            {
                "type": "Rainier.UI.V2.ConnectionModel",
                "uiProperty": {
                    "stroke": 1,
                    "radius": 1,
                    "color": "#00A8F0"
                },
                "modelProperty": {
                    "name": "connection1",
                    "router": "Rainier.UI.V2.InteractiveManhattanRouter",
                    "segments": [
                        {
                            "start_x": 801,
                            "start_y": 495,
                            "end_x": 837,
                            "end_y": 495,
                            "type": "horizontal"
                        }
                    ],
                }
            }
        ]
    }
}